package cn.fscode.code.generator.assembly;

import cn.fscode.code.generator.gen.GeneratorConfig;
import cn.fscode.code.generator.model.po.DatasourceConfigPO;
import cn.fscode.code.generator.model.resp.DatasourceResp;
import org.mapstruct.Mapper;

/**
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface DatasourceConfigAssembly {
    DatasourceResp toDatasourceRespFrom(DatasourceConfigPO datasourceConfigPO);
    GeneratorConfig toGeneratorConfigFrom(DatasourceConfigPO datasourceConfigPO);
}
